<%@ page import="util.DBUtil" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/12/22
  Time: 10:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>撤单</title>
</head>
<body>
<%
    String id = request.getParameter("id");
    DBUtil dbUtil=new DBUtil();
    String sql="delete from tb_order where id="+id;
    dbUtil.update(sql);
    response.sendRedirect("myorder.jsp");
%>
</body>
</html>
